package com.twxm.breed.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.twxm.breed.entity.Monitor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MonitorMapper extends BaseMapper<Monitor> {
    void setMonitor(Monitor monitor);

    void updateMonitor(Monitor monitor);

    Monitor selectByDeviceId(String deviceId);

    List<Monitor> getMonitor();
}
